<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="cn.ffcs.common" extends="struts-default" namespace="/common">
		<!-- ATTACH BEGIN-->
		<action name="uploadFile" class="AttachBean" method="uploadFile">
			<result name="success">/common/uploadFile.jsp</result>
		</action>
		<action name="saveUploadFile" class="AttachBean" method="saveUploadFile">
			<result name="success">/common/uploadFile.jsp</result>
		</action>
		<action name="showFile" class="AttachBean" method="showFile">
			<result name="success">/common/showFile.jsp</result>
		</action>
		<action name="showFtpFile" class="AttachBean" method="showFtpFile">
			<result name="success">/common/showFile.jsp</result>
		</action>
		<action name="showImgFile" class="AttachBean" method="showImgFile">
			<result name="success">/common/showFile.jsp</result>
		</action>
		<action name="showImg" class="AttachBean" method="showImg">
			<result type="stream">
                <param name="contentType">image/jpeg</param>
                <param name="inputName">inputStream</param>
            </result>
		</action>
		<!-- ATTACH BEGIN-->
		<action name="index" class="IndexBean" method="getIndexData">
			<result name="success">/index.jsp</result>
		</action>
		<action name="first" class="PageTopBean" method="getData">
			<result name="success">/first.jsp</result>
		</action>
		<action name="toForum" class="IndexBean" method="toForum">
			<result name="success">/toForum.jsp</result>
		</action>
		<action name="getValue" class="CommonBean" method="getValue">
			<result name="success">null</result>
		</action>
</package>
</struts>